﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CrèchePager
{
    public class ScreenListItem
    {
        private string name;
        private Screen screen;

        public ScreenListItem(string name, Screen screen)
        {
            this.name = name;
            this.screen = screen;
        }

        public string Name
        {
            get { return name; }
        }

        public Screen TheScreen
        {
            get { return screen; }
        }

        public string DisplayName
        {
            get { return ToString(); }
        }

        public override string ToString()
        {
            return name + " - " + screen.DeviceName + (screen.Primary ? "[P]" : "");
        }
    }
}
